/**
 * @description 定义业务路由--动态加载，也叫懒加载
 */
import store from '@/store'
let menuList = store.getters['common/menuList'].filter(it => !!it.path)
let routes = menuList.map(it => ({path: it.path, component: (() => import('../views' + it.path))}) )
export default routes